package com.team12.hotel404.mapper;

import com.team12.hotel404.domain.Room;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface RoomMapperExt {
    List<Room> selectByRoomType(@Param("roomType") String roomType);

    List<Room> selectByArea(@Param("areaName") String areaName);

    List<Room> selectByHotelName(@Param("hotelName") String hotelName);

    List<Room> selectByHotelId(@Param("hotelId")Integer hotelId);
}
